
<html>
<head>
<script src="../TTE.core.js"></script>
<script src="../Reporters/TTE.reporters.httpGet.js"></script>
<script src="../Reporters/TTE.reporters.console.js"></script>
<script src="TTE.init.js"></script>
<script>

function myFunc() {
    try {
        aaaaaa();
    }
    catch (e) {
		TTE.report("string error in myFunc");
	}
}

function myFunc2() {
	try {
        aaaaaa();
    }
    catch (e) {
		TTE.report(e);
	}
}

</script>

</head>
<body>
<input type="button" onclick="myFunc2()" value="Click for try catch log using the exception" />
<input type="button" onclick="myFunc()" value="Click for try catch log using string" />

</body>
</html>